package com.wjk.test;

/**
 * @author : RobertWei
 * time: 2021/9/24    14:50
 * description:
 */

public class Demo {

    public ListNode sortList(ListNode head) {

        if (head.next == null){
            return head;
        }
        ListNode first = head.next;
        ListNode second = head;

        while (first.next != null) {
            if (first.val < second.val){

            }

        }


        return head;
    }

}

class ListNode{

    int val;
    ListNode next;

    public ListNode(int val){
        this.val = val;
        next = null;
    }

    public ListNode(int val, ListNode next) {
        this.val = val;
        this.next = next;
    }
}
